﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;

namespace Controller
{
    public delegate void GetTableInformationEventHandler(GetTableInformationEventArgs e);

    public class GetTableInformationEventArgs: EventArgs
    {
        public TableInformation Result { private set; get; }
        public Exception exception { private set; get; }
        public bool IsFullDataGet { set; get; }

        public GetTableInformationEventArgs() { }

        public GetTableInformationEventArgs(TableInformation r) 
        {
            Result = r;
        }
        public GetTableInformationEventArgs(Exception ex)
        {
            exception = ex;
        }
    }
}
